package com.yao.factory;

import com.yao.factory.factory.ShapeFactory;
import com.yao.factory.service.Shape;

public class FactoryDemo {

	public static void main(String[] args) {
		ShapeFactory shapeFactory = new ShapeFactory();
		Shape shape = shapeFactory.getShape("Square");
		shape.draw();
	}
}
